package com.remrbs.Vo;

import lombok.Data;

//@Data
public class ResultVo {
    /**
     * 信息
     */
    private String message;

    public ResultVo() {

    }

    @Override
    public String toString() {
        return "ResultVo{" +
                "message='" + message + '\'' +
                ", Flag='" + Flag + '\'' +
                ", object=" + object +
                '}';
    }

    public ResultVo(String message, String flag, Object object) {
        this.message = message;
        Flag = flag;
        this.object = object;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getFlag() {
        return Flag;
    }

    public void setFlag(String flag) {
        Flag = flag;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    /**
     * 标识
     * 先这样设定, 0  失败
     *            1  成功
     *            2  待定
     *            ....
     */
    private String Flag;
    /**
     * 数据
     */
    private Object object;
}
